package mlz.a_polymorphic.demo01;

//父类
public class Animal {
    String name;
    int age;

    public void eat(){
        System.out.println("动物吃东西");
    }

    public void sleep(){
        System.out.println("动物在睡觉");
    }
}
